package com.scujj.cs6.service;

import com.scujj.cs6.model.entity.Cities;
import com.baomidou.mybatisplus.extension.service.IService;
import com.scujj.cs6.model.vo.CitiesVo;
import com.scujj.cs6.model.vo.PageVo;

import java.util.List;

/**
* @author FlanChan
* @description 针对表【cities】的数据库操作Service
* @createDate 2025-04-07 11:53:57
*/
public interface CitiesService extends IService<Cities> {
    /**
     * 获取所有省会城市
     * @return 省会城市列表
     */
    List<Cities> getAllProvincialCapital();

    PageVo<CitiesVo> pageProvincialCapital(int page, int size);

    int countProvincialCapital();
}
